home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir39 / dosutl.zip / DOSUTIL.DOC < prev    next >
Text File  |  1994-10-30  |  25KB  |  660 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.         
  8.                           DIRECTORY COMMANDER PLUS
  9.                           ========================
  10.                                 Version 2.0
  11.         
  12.                    Copyright 1991-1993 by Chuck Steenburgh
  13.                              & Tay-Jee Software
  14.         
  15.                             _______
  16.                        ____|__     |               (TM)
  17.                     --|       |    |-------------------
  18.                       |   ____|__  |  Association of
  19.                       |  |       |_|  Shareware
  20.                       |__|   o   |    Professionals
  21.                     -----|   |   |---------------------
  22.                          |___|___|    MEMBER
  23.         
  24.         
  25.              DOS Version 6.00 adds many new features to the venerable 
  26.         dir[ectory] command.  What makes these new options even more 
  27.         useful is the addition of the environment variable DIRCMD.  By 
  28.         using DIRCMD, you can store your favorite switches for the dir 
  29.         command in the environment so you don't have to keep typing them
  30.         on the command line.
  31.         
  32.              The problem, of course, is that these switches are still 
  33.         just as cryptic as ever.  For example, the command:
  34.         
  35.                        dir /og
  36.         
  37.         means to show all files with subdirectories grouped before the 
  38.         files.  Makes sense, doesn't it?  That's what we said.
  39.         
  40.              We wrote DIRECTORY COMMANDER to make life a little easier 
  41.         for myself.  Instead of requiring you to spend 10 minutes look-
  42.         ing through your DOS 6.00 manual to remember what all those 
  43.         switches are so you can compose a SET DIRCMD= line, DIRECTORY 
  44.         COMMANDER will guide you through the process of selecting your 
  45.         desired options from a simple, menu-driven display.  DIRECTORY 
  46.         COMMANDER will then create a small batch file containing the
  47.         options you have selected.  Just execute this batch file, and 
  48.         your preferences will be saved to the environment.
  49.         
  50.              Material that differs from the documentation for the prev-
  51.         ious version is set off by vertical lines in the margin.
  52.         
  53.         
  54.         STARTING DIRECTORY COMMANDER
  55.  
  56.                                      Page 1
  57.  
  58.  
  59.  
  60.  
  61.  
  62.         
  63.              Starting DIRECTORY COMMANDER couldn't be easier.  Simply 
  64.         type DCPLUS at the command line.  You will see a small box 
  65.         containing the words "DIRCMDr PLUS" at the top of the screen, 
  66.         and two larger boxes below.
  67.         
  68.              The box on the left (surrounded by double lines) contains 
  69.         the Directory Options menu.  Select these options by pressing 
  70.         the first letter in the option name (highlighted in blue on 
  71.         color displays).  Pressing the first letter will toggle an 
  72.         "X" off and on next to the option.  "X" means that option is 
  73.         currently selected.
  74.         
  75.         
  76.              [ ] Pause when full
  77.         
  78.              This activates the /p switch.  When the screen fills,
  79.              you will be asked by DOS to press any key to continue.
  80.         
  81.              [ ] Wide format
  82.         
  83.              This activates the /w switch.  Filenames only will be
  84.              displayed in five columns across the screen.  Has no 
  85.              effect if the "File names only" option is selected.
  86.         
  87.              [ ] Subdirectories
  88.         
  89.              This activates the /s switch.  In addition to the cur-
  90.              rent directory, all subdirectories beneath it will be
  91.              included.
  92.         
  93.              [ ] File names only
  94.         
  95.              This will eliminate all of the "extraneous" information
  96.              from the listing, producing only a list of filenames
  97.              (in the format FILENAME.EXT) with no headers or footers.
  98.              Activates the /b switch.
  99.         
  100.              [ ] Lowercase only
  101.         
  102.              This activates the /l switch.  All file and directory
  103.              names will be displayed in lower case.
  104.              
  105.              [ ] Compression ratio                                      |
  106.              
  107.              This actives the /c[h] switch, which displays the compres- |
  108.              sion ratio for DoubleSpace compressed drives.  When selec- |
  109.              ting this option, you will be asked whether you want to    |
  110.  
  111.                                      Page 2
  112.  
  113.  
  114.  
  115.  
  116.  
  117.              use the host drive's cluster size.  Since DoubleSpace (and |
  118.              most other compression programs) use a misleadingly large  |
  119.              cluster size, which reports an exaggerated compressio ra-  |
  120.              tio, we suggest answering "Y" to this prompt.              |
  121.         
  122.              [ ] DIRCMD Set
  123.         
  124.              When activated, this option will cause DIRECTORY COMMANDER
  125.              to set a master environment variable named DIRCMD with the
  126.              options you have selected.  These options will then be in
  127.              effect automatically whenever the DIR command is used from
  128.              DOS.
  129.         
  130.              The box on the right side of the screen (initially sur-
  131.         rounded by single lines) contains what two "special options."  
  132.         These are the /a (attribute) and /o (order of sort) switches.  
  133.         This large box is divided into two smaller boxes, one for each 
  134.         of these two options.
  135.         
  136.              This menu operates a little differently.  Like the simple 
  137.         Directory Options, "Attributes" and "Order of Sort" can be 
  138.         selected by pressing the first letter of their names (high-
  139.         lighted in blue).  Initially, both options are turned off 
  140.         (no "X" displayed next to option name).  When you press the 
  141.         "a" or "o" key for the first time, you will activate that 
  142.         option AND the Special Options menu.  Note that single lines 
  143.         will now appear around the Directory Options Menu and double 
  144.         lines will appear around the appropriate portion of the Special
  145.         Options menu.
  146.         
  147.              When the Special Options menu is active, you can select 
  148.         additional options.  These options appear below the words 
  149.         "Attributes" and "Order of Sort."  When you select either "a" 
  150.         or "o", the corresponding set of special options becomes active
  151.         (first letter is highlighted in green).  These options are 
  152.         described below:
  153.         
  154.         
  155.         Attributes Special Options:
  156.         
  157.              Hidden (displays hidden files)
  158.              System (displays system files)
  159.              Directories (displays only subdirectories)
  160.              Archive (displays files needing backup)
  161.              Read Only (displays read only files)
  162.         
  163.         Order of Sort Special Options:
  164.         
  165.  
  166.                                      Page 3
  167.  
  168.  
  169.  
  170.  
  171.  
  172.              Name (sorts by file name from a-z)
  173.              Extension (sorts by extension from a-z)
  174.              Date & Time (sorts by date & time, earliest to latest)
  175.              Size (sorts by size, smallest to largest)
  176.              Files First (displays all files before subdirectories)
  177.              Compression (displays files from least to most compressed) |
  178.         
  179.              When you select one of the special options, a plus sign 
  180.         (+) appears in front of that option.  This turns it on.  
  181.         Selecting the special option a second time puts a minus sign 
  182.         (-) in front of the option.  This activates the option "in 
  183.         reverse."  For the atttribute options, all files which DO NOT 
  184.         possess this attribute will be displayed.  For order of sort 
  185.         options, the sort order will be reversed.  Selecting the 
  186.         option a third time will toggle it off.
  187.         
  188.              For the Order of Sort options menu, the order in which   
  189.         you select options is important.  This is the order in which  
  190.         those options will appear on the command line.  For example,  
  191.         let's say that you want to have all directories listed first  
  192.         (alphabetically), then all files listed (alphabetically).     
  193.         To select this option, you would first press "o" (for Order   
  194.         of Sort) from the Directory Options menu.  The Special Options
  195.         menu for Order of Sort will activate.  Then press "f" twice   
  196.         (two "reverse" the files first option).  A minus (-) sign     
  197.         and the numeral "1" should appear next to the "Files first"   
  198.         option.  Next, press "n" for "Name" option.  A plus (+)       
  199.         sign and the numeral "2" should appear to the left of the     
  200.         "Name" option.  When the SET DIRCMD= string is written, it    
  201.         will appear as "/ogn".                                        
  202.         
  203.              As long as the Special Options menu is active, you can 
  204.         toggle on/reversed/off as many of the appropriate special 
  205.         options as you want.  When you are finished, press ESC and the 
  206.         Directory Options Menu will be reactivated.
  207.         
  208.              If you press "a" or "o" a second time from the Directory
  209.         Options menu, that option (and any of the associated options 
  210.         such as (N)ame, (S)ize, etc.) will be turned off.            
  211.         
  212.              When you are done selecting options, and the Directory
  213.         Options menu is active (surrounded by double lines), press
  214.         ESC to exit.  A message will appear in the lower left hand
  215.         corner displaying the SET DIRCMD= string which you have
  216.         created.
  217.         
  218.                                                                         
  219.         HELP
  220.  
  221.                                      Page 4
  222.  
  223.  
  224.  
  225.  
  226.  
  227.         
  228.              Pressing F1 from any portion of the program will call up 
  229.         a window displaying context-sensitive help.  There is a sepa- 
  230.         rate, two-part help display for each of the three menus.
  231.          
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.                                      Page 5
  277.  
  278.  
  279.  
  280.  
  281.  
  282.         
  283.         
  284.                                   FORMCMDr
  285.                                   ========
  286.                                 Version  2.2
  287.         
  288.                     Copyright 1992-1994 by Chuck Steenburgh
  289.                              & Tay-Jee Software
  290.         
  291.                             _______
  292.                        ____|__     |               (TM)
  293.                     --|       |    |-------------------
  294.                       |   ____|__  |  Association of
  295.                       |  |       |_|  Shareware
  296.                       |__|   o   |    Professionals
  297.                     -----|   |   |---------------------
  298.                          |___|___|    MEMBER
  299.         
  300.         
  301.            DOS' FORMAT command is one of the most essential of all.
  302.         Unfortunately, it can also be one of the most daunting (not to
  303.         mention dangerous) for new users.  Although DOS 6.00 has made
  304.         the command somewhat easier by eliminating confusing references
  305.         to tracks and sectors on the command line, newer wrinkles were
  306.         introduced with the addition of "QuickFormatting" and the un-
  307.         conditional format.  It is still far too easy to make mistakes.
  308.         
  309.            FORMCMDr does for FORMAT what DIRCMDr Plus does for DIR:
  310.         it provides a menu-driven interface for selecting the various
  311.         formatting options.  With a little help from the DOSKEY program
  312.         and a batch file, we are able to provide support for an environ-
  313.         ment variable, called FORMCMD, to specify default options.
  314.         
  315.         
  316.         GETTING STARTED
  317.         
  318.            To run the FORMCMDr program, type:
  319.            
  320.              FCDR
  321.         
  322.            on the command line and press {Return}.  (See the end of the
  323.         documentation for instructions on an alternate method of launch-
  324.         ing the program.)  You will see a three-part display on your
  325.         screen.
  326.         
  327.            In the upper left portion of the screen is the program menu.
  328.         It contains a list of 10 options.  Specific menu items can be
  329.         selected through the use of a hotkey or a scrolling cursor bar.
  330.  
  331.                                      Page 6
  332.  
  333.  
  334.  
  335.  
  336.  
  337.         
  338.            The upper right hand corner of the screen contains the
  339.         "Status Board."  This displays the status of each of the options
  340.         which you can select via FORMCMDr.
  341.         
  342.            The lower portion of the screen displays the options current-
  343.         ly stored in the FORMCMD environment variable.
  344.         
  345.         
  346.         SELECTING A MENU OPTION
  347.         
  348.            Menu options can be selected by pressing the first letter of
  349.         that option (the "hotkey," highlighted on the menu) or by posi-
  350.         tioning the scrolling bar over that item and pressing {Return}.
  351.         The meaning of each menu item is described below.
  352.         
  353.         Disk Size
  354.         
  355.            Use this option to specify the size of the disk to be format-
  356.         ted.  Upon choosing this item, a second menu will appear listing
  357.         the four most common disk sizes.  To specify one of the more
  358.         uncommon disk sizes, such as a single-sided disk or the new 2.88
  359.         megabyte floppies, select "Weird Disk Sizes," then the proper
  360.         disk size from another menu.
  361.         
  362.            The default disk size is that of the largest size disk that
  363.         can be formatted in drive A (the default drive), if the size can
  364.         be determined.
  365.         
  366.            It is alright in some cases to NOT specify a disk size.  In
  367.         this case, the drive will usually format disks to the largest
  368.         size supported by the drive in question.
  369.         
  370.         Target Drive
  371.         
  372.            You must always specify a drive letter to format.  The de-
  373.         fault drive for FORMCMDr is drive A.  After selecting this menu
  374.         option, enter the letter of the drive you wish to format.
  375.         
  376.            If FORMCMDr can recognize the drive type, it will automatic-
  377.         ally set the disk size, or present you with a menu of possible
  378.         choices if the drive supports multiple disk sizes.
  379.         
  380.         Volume Label
  381.         
  382.            Select this menu item to include a volume label on your disk.
  383.         You can enter a label of up to 11 characters.  Use volume labels
  384.         to identify your disks, especially important ones that you might
  385.  
  386.                                      Page 7
  387.  
  388.  
  389.  
  390.  
  391.  
  392.         not be able to identify from the files they contain.
  393.         
  394.         Quick Format
  395.         
  396.            A quick format does not actually reformat a disk; it essen-
  397.         tially does little more than erase the disk.  Obviously, for
  398.         this to work, the disk must have been previously formatted; you
  399.         must also format the disk to the same size to which it was orig-
  400.         inally formatted.  A quick format is much, much faster than a
  401.         normal format, but since it does not actually format the disk,
  402.         it is less reliable than a true format.
  403.         
  404.            Quick formatting works on standard DOS formatted disks; it
  405.         also works on some disks formatted by non-standard formatting
  406.         programs such as Maxi-Disk.
  407.         
  408.         Unconditional Format
  409.         
  410.            DOS 6.00 provides the capability of unformatting disks.  When
  411.         a disk is reformatted, DOS normally saves certain information
  412.         needed to unformat the diskette during the reformatting process.
  413.         This adds several seconds to the formatting time.  To forego
  414.         this feature and speed up the formatting of your disks, select
  415.         this option.
  416.         
  417.         System Disk
  418.         
  419.            A system disk contains the operating system files and the
  420.         command processor and can be used to boot your system.  A system
  421.         disk takes a few seconds longer to format (time to copy the
  422.         system files) and will have approximately 110k less space avail-
  423.         able than a normal disk.  Select this option to create a system
  424.         disk.  Since a system disk cannot be unformatted, it is usually
  425.         a good idea to specify an unconditional format also.
  426.         
  427.            DOS 6.2 (and later) gives you the option of merely reserving |
  428.         sufficient disk space for the system files without copying them.|
  429.         When you select this item from the menu, you'll be given the    |
  430.         choice of reserving space or actually copying the system files. |
  431.         Select the appropriate option.  Your choice will be displayed   |
  432.         on the Status Board.                                            |
  433.         
  434.         WarpFormat  (DANGER)
  435.         
  436.            DOS 6.00 provides several undocumented switches to allow
  437.         immediate formatting of a disk without prompts or warnings.
  438.         This can be very dangerous!  The /AUTOTEST switch, which is used
  439.         by FORMCMDr to accomplish immediate formatting, will IGNORE the
  440.  
  441.                                      Page 8
  442.  
  443.  
  444.  
  445.  
  446.  
  447.         usual security features designed to prevent you from formatting
  448.         your hard disk.  While this provides a convenient way to quickly
  449.         format a disk, it should be used sparingly and should NOT be
  450.         set to the environment!
  451.         
  452.         FORMCMD Set
  453.         
  454.            This option causes your selected options to be saved to a
  455.         master environment variable named FORMCMD.  All options except
  456.         for WarpFormat and Volume Label will be saved.
  457.         
  458.         Go For It!
  459.         
  460.            This command will execute FORMAT with the options selected
  461.         and displayed on the Status Board (NOT in the environment dis-
  462.         play at the bottom of the screen).
  463.         
  464.         Abort
  465.         
  466.            This will exit the program without executing FORMAT.  If you
  467.         have specified FORMCMD Set, the environment variable WILL be
  468.         set.
  469.         
  470.         
  471.         THE STATUS BOARD
  472.         
  473.            The Status Board reflects the options currently selected by
  474.         you.  When the program is started normally, all of the options
  475.         will be blank except for two: the Target Drive will be listed
  476.         as drive A and "Safe Format" will be selected.
  477.         
  478.            If the FORMCMD variable is set when the program is started,
  479.         these settings will be reflected on the Status Board initially.
  480.         
  481.            Target Drive, Disk Size, and Volume Label will all correspond
  482.         to the values you have selected/input from the menu.  The other
  483.         options are toggled "on" or "off" through the menu.  An option
  484.         is "on" when a check mark appears next to it on the Status 
  485.         Board.
  486.         
  487.            "Safe Format" is initially toggled on.  Selecting "Uncon-
  488.         ditional" from the menu will toggle it off.
  489.         
  490.            As mentioned above, a system disk cannot be unformatted, so
  491.         these options are incompatible with one another.  Likewise,
  492.         QuickFormat and WarpFormat are incompatible.  WarpFormat does
  493.         not support volume labeling; although you may enter a volume
  494.         label if WarpFormat is selected, it will be ignored if WarpFor-
  495.  
  496.                                      Page 9
  497.  
  498.  
  499.  
  500.  
  501.  
  502.         mat is still active when the F10 key is pressed.
  503.         
  504.         
  505.         USING THE BATCH FILE FMT.BAT
  506.         
  507.            The file FMT.BAT is supplied as a convenient means of acces-
  508.         sing the FORMCMD variable created by the program.  To perform a
  509.         format using the default options specified in the FORMCMD var-
  510.         iable, use the following syntax:
  511.         
  512.              FMT d:
  513.         
  514.         where d: is the letter of the drive you wish to format (usually
  515.         A: or B:).
  516.         
  517.            If you like, you can redefine DOS' FORMAT command to corres-
  518.         pond to FMT.BAT through the use of the following DOSKEY macro:
  519.         
  520.              DOSKEY format=fmt.bat $*
  521.         
  522.         This DOSKEY macro can be implemented by typing the command above
  523.         or by executing the file FMAC.BAT in the distribution archive.
  524.         
  525.            If you have used DOSKEY to redefine your FORMAT command, you
  526.         may from time to time wish to format disks using something OTHER
  527.         than the options defined in the FORMCMD variable.  In this case,
  528.         you have one of two options.  You can type a space before typing
  529.         the word "format" on the command line, adding your options such
  530.         as drive specifier and switches; OR you can type "format x" fol-
  531.         lowed by options such as drive specifier and switches.  The
  532.         first method will simply bypass the DOSKEY macro definition al-
  533.         together; the latter method relies on features within FMT.BAT to
  534.         ignore the FORMCMD variable.
  535.          
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.                                      Page 10
  552.  
  553.  
  554.  
  555.  
  556.  
  557.         
  558.         OMBUDSMAN
  559.         
  560.           These programs are produced by a member of the Association of
  561.         Shareware Professionals (ASP).  ASP wants to make sure that
  562.         the shareware principle works for you.  If you are unable to
  563.         resolve a shareware-related problem with an ASP member by
  564.         contacting the member directly, ASP may be able to help.  The
  565.         ASP Ombudsman can help you resolve a dispute or problem with
  566.         an ASP member, but does not provide technical support for 
  567.         members' products.  Please write to the ASP Ombudsman at 545
  568.         Grover Road, Muskegon, MI 49442 or send a CompuServe message
  569.         via CompuServe Mail to ASP Ombudsman, 70007,3536.
  570.         
  571.         
  572.         DISCLAIMER
  573.         
  574.            The programs described in this documentation are guaran-
  575.         teed to do absolutely nothing!  They have, however, in my exper-
  576.         ience performed essentially as described herein.  The author
  577.         will not be responsible for any loss or damages caused through
  578.         the use of these programs.  No warranty, express or implied,
  579.         is provided for this software's performance, merchantability,
  580.         or fitness for a particular purpose.
  581.         
  582.            All trademarks are property of their respective owners.
  583.            
  584.            The programs and documentation are Copyright 1991-1994 by 
  585.         Chuck Steenburgh and Tay-Jee Software.  You are encouraged to 
  586.         distribute the UNREGISTERED VERSIONS of these programs provided 
  587.         the conditions specified in the file VENDOR.DOC are met.
  588.         
  589.            You may evaluate this software for up to 30 days on a free
  590.         trial basis.  After 30 days, you should register your use of
  591.         the programs.  The registration fee is $14.95, payable to Tay-
  592.         Jee Software at the address given below.  Registration includes
  593.         both programs in the 6th Sense utility set.
  594.         
  595.            Registration has the following advantages:
  596.            
  597.            - Registration includes a collection of DOSKEY macros: dozens
  598.              of tricks, shortcuts, and handy additions to your DOS com-
  599.              mand set.
  600.         
  601.            - We are improving these programs all the time.  Registration
  602.              will get you IMMEDIATELY a disk with the latest version,
  603.              and automatic notice of future upgrades.
  604.         
  605.  
  606.                                      Page 11
  607.  
  608.  
  609.  
  610.  
  611.  
  612.            - While we can't promise to include everyone's suggestions
  613.              in program updates, you can bet we'll listen to registered
  614.              users before any of you scrounges out there.
  615.         
  616.            - You will also get an evaluation copy of our text file for-
  617.              matting program (used to produce the margins in this doc-
  618.              ument), and any other electronic creations we have decided
  619.              to unleash on a foolish, unsuspecting world.  This includes
  620.              our best-selling STEENBURGH's STUFF, 21 utility programs
  621.              for use in batch files; and Back Soon!, a message-taking
  622.              utility.
  623.         
  624.            Send comments/registrations to:
  625.         
  626.                 Tay-Jee Software
  627.                 Post Office Box 835
  628.                 Lexington, VA 24450
  629.                 (703)261-7023
  630.                 (800)378-3966 (US & Canada only) - MC/VISA accepted
  631.                 
  632.                 !!!VIRGINIA RESIDENTS ADD 4.5SALES TAX!!! ($0.68)
  633.                 
  634.                 International orders add $5 for shipping.
  635.         
  636.                 CIS 72330,1776 (IBMSYS and IBMPRO forums)
  637.                 AoL, Delphi: TayJeeSoft
  638.                 Internet: tayjeesoft@aol.com
  639.         
  640.                 You may also register on-line on CompuServe.  GO SWREG;
  641.            the registration number is 1175.
  642.            
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.                                      Page 12